import { get } from '../http/request.js'

export function getSubDeptIds() {
    return get('/dept/getSubDeptIds')
}

export function getEmployeesUnderDept(params) {
    return get('/dept/getEmployeesUnderDept', params)
}

export function getAllDepts() {
    return get('/dept/getAllDepts')
}

export function getDeptNameById(params) {
    return get('/dept/getDeptNameById', params)
}